/*
 * word.h
 *
 *  Created on: Mar 29, 2015
 *      Author: silivas
 */

#ifndef SRC_WORD_H_
#define SRC_WORD_H_
#include <string>
using namespace std;

class Word {
public:
	Word(const string& s) :
			_word(s) {

	}

	string& toString(){
		return _word;
	}

	bool isbracketed(){
		return _word.size()>1 && _word[0]=='<' && _word[_word.size() - 1]=='>';
	}

private:
	string _word;
};

#endif /* SRC_WORD_H_ */
